package org.example.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
@ApiModel("学生信息")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class StudentInfo {
    @ApiModelProperty("学生id")
    private Long studentId;
    @ApiModelProperty("学生姓名")
    private String studentName;
    @ApiModelProperty("学生出生日期")
    private LocalDateTime birthDate;
    @ApiModelProperty("学生年龄")
    private Integer age;
}
